package com.per.mybootall.test;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2022/2/7
 * Time: 11:33
 * Description:
 */
public class test13 {
  public static void main(String[] args) {
    //%s   以字符串形式进行替换
    String formatResult=String.format("asdasdasdasd%sasda%sdad","YYY","XXX");
    System.out.println(formatResult);
  }
}
